﻿using System;
using System.Collections.ObjectModel;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace WorldIndex.Modules.Countries
{
    public class CountryService : ICountryService
    {
        public ObservableCollection<Country> getCountries()
        {
            var countries = new ObservableCollection<Country>();
            countries.Add(new Country{Capital = "Oslo", Name = "Norway"});
            countries.Add(new Country{Capital = "Amsterdam", Name = "Netherlands"});
            countries.Add(new Country{Capital = "Sverige", Name = "Sweden"});

            return countries;
            //return new Countries().List;
        }
    }
}
